package com.googlecode.antilopebpm.variable;

import java.io.Serializable;


public abstract class VariableInstance implements Serializable {

	public long id = 0;

	protected String name = null;

	protected VariableConverter converter = null;

	public abstract boolean isStorable(Object value);

	public abstract Object getObject();

	public abstract void setObject(Object value);

	public long getId() {
		return id;
	}

	public void setId(long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public VariableConverter getConverter() {
		return converter;
	}

	public void setConverter(VariableConverter converter) {
		this.converter = converter;
	}

}
